package com.grandt.controller.utils;

import java.util.List;

import javax.swing.JComboBox;

public class ManagerComboBox {

	private JComboBox	combo;
	public ManagerComboBox(JComboBox combo) {
		this.combo = combo;
	}
	public void initComponent(List<Object> list,Object o){
		combo.removeAllItems();
		for (Object object : list) {
			combo.addItem(object);
		}
		combo.setSelectedItem(o);		
	}
}
